SET(LIB_NAME BluePhysics)
ADD_DEFINITIONS(-DBLUEPHYSICS_LIBRARY)

SET(HEADER_PATH ${BP_SOURCE_DIR}/include/${LIB_NAME})
SET(SOURCE_PATH ${BP_SOURCE_DIR}/src/${LIB_NAME})

SET(LIB_PUBLIC_HEADERS
  ${HEADER_PATH}/export.h
  ${HEADER_PATH}/BluePhysics.h
  ${HEADER_PATH}/Environment.h
  ${HEADER_PATH}/Material.h
)


SET(LIB_SOURCES
  ${SOURCE_PATH}/BluePhysics.cpp
  ${SOURCE_PATH}/Environment.cpp
  ${SOURCE_PATH}/Material.cpp
)


#########################################

LINK_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${OSG_LIB_DIR} )

SET(LIB_DEPS
)



SET(LIB_INTERNALS
)
LINK_DIRECTORIES(${OSG_LIB_DIR} ${CMAKE_CURRENT_SOURCE_DIR}  ${DEPEND_PATH}/lib)
INCLUDE_DIRECTORIES(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${BP_SOURCE_DIR}/include
)


PROJECT_ADD_LIBRARY(${LIB_NAME})

IF(APPLE)
  TARGET_LINK_LIBRARIES(${LIB_NAME} objc)
ENDIF(APPLE)
